cmake_minimum_required(VERSION 3.0.0)
project(CreateWindow VERSION 0.1.0)

include_directories("D:/dev/v142-x64/include")

find_package(glfw3 REQUIRED)

if(MSVC)
    set(CMAKE_EXE_LINKER_FLAGS  "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:msvcrt.lib")	
endif()

add_executable(CreateWindow main.cpp glad.c)
target_link_libraries(CreateWindow glfw)